package com.invengo.testrfid.app.utils;

import android.util.Log;

/**
 * Created by shengjunhao on 2017/7/11.
 * <p>
 * 对log的打印进行再次的封装
 */

public class MyLogUtils {

    public static void log(String tag, String data, int version) {

        Log.i(tag,get(version)+data);
    }

    public static void sysLog(String data,int version){
        System.out.print(get(version)+data+"\n");
    }

    private static String get(int version) {

        String x = "";
        for (int i = 0; i < version; i++) {
            x = x + "---";
        }
        return x;
    }
}
